<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <th:block th:include="fragments/header :: header"/>
</head>
<body>
<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'center',border:false">
        <form id="superForm" action="" method="post" style="padding-top: 10px;padding-left: 20px;">
            <table width="90%">
                <tr>
                    <td>俱乐部:</td>
                    <td>
                        <select class="easyui-combobox" id="clubId" name="clubId" style="width: 90%;" data-options="animate:true,required:true">
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>赛季:</td>
                    <td>
                        <select class="easyui-combobox" id="seasonId" name="seasonId" style="width: 90%" data-options="animate:true,required:true">
                        </select>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>
<script type="text/javascript">
    function submitForm() {
        $("#superForm").form('submit',{
            url:'/markt/super/save',
            onSubmit:function () {
                return $(this).form('enableValidation').form('validate');
            }
        });
    }

    $(function () {
        ComboboxUtil.Init("seasonId","/markt/enumManage/getEnumTree/?enumName=赛季");
        ComboboxUtil.Init("clubId","/markt/club/getClubTree");
    })
</script>
</body>
</html>
